<template>
    <div>
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                <a class="navbar-brand" href="#">智信为学</a>
                </div>
                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <router-link tag="li" to="/firstPage" exact><a href="#">首页</a></router-link>
                    <router-link tag="li" to="/bookSystem"><a href="#">图书管理</a></router-link>
                    <router-link tag="li" to="/user" class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">用户</a>
                    </router-link>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">头像</a></li>
                    <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">退出</a>
                    </li>
                </ul>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </nav>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style scoped>
.router-link-active{
    color: black;
    background: #e7e7e7;
}

</style>